# ---------------------------------------------------------------------
# Vendor: Cisco
# OS:     WLC
# ---------------------------------------------------------------------
# Copyright (C) 2007-2016 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------


from noc.core.profile.base import BaseProfile


class Profile(BaseProfile):
    name = "Cisco.WLC"
    pattern_username = r"^User:"
    pattern_more = r"--More-- or \(q\)uit"
    pattern_prompt = r"^\(Cisco Controller\)\s+>"
    requires_netmask_conversion = True

    matchers = {"is_platform_5508": {"platform": {"$regex": r"AIR-CT5508.*"}}}
